// 浅拷贝
let a = [1, 2, 3, {name: 100}]
let [x, y, z, w] = a
w.name = '1999'
console.log(a[3]);

let obj = {
    height: 100,
    person: {
        zzy: 'test'
    }
}
let clone = Object.assign({}, obj)
let dd = {}
let aaa = Object.create(dd)
console.log(aaa.__proto__ === dd);
clone.person.zzy = '999'
console.log(obj.person);